/**
 * Created by xuguangyuansh on 2018/9/5.
 */
public class Marble1 {
    public static void main(String[] args) {
        FabricService fabricService = new FabricService();
        FabricRequest req = new FabricRequest();
        req.setFcn("query");
        req.getArg().setA("queryMarblesByOwner");
        req.getArg().setB("tom");
        String result = fabricService.chaincode(req);
        System.out.println(result);
    }
}
